package com.ler.yrmall.ware.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ler.yrmall.ware.entity.PurchaseDetailEntity;
import com.ler.yrmall.ware.form.PurchaseDetailForm;
import com.ler.yrmall.ware.vo.PurchaseDetailVO;

/**
 * @author leron
 */
public interface PurchaseDetailService extends IService<PurchaseDetailEntity> {

    /**
     * 分页
     * @param request
     * @return
     */
    IPage<PurchaseDetailVO> find(PurchaseDetailForm request);

    /**
     * 更新
     * @param purchaseDetail
     */
    void update(PurchaseDetailEntity purchaseDetail);
}

